using CooliteExample.Model;

namespace CooliteExamples.Code.DTO
{
    public class Author
    {
        public int AuthorId { get; set; }
        public string AuthorName { get; set; }

        public Author()
        {
            
        }

        internal Author(mAuthor authorEntity)
        {
            AuthorId = authorEntity.AuthorId;
            AuthorName = authorEntity.Name;
        }
    }
}